using System;
using System.Collections.Generic;
using System.Text;

namespace SanFS.MediaChangerLibrary
{
    public class StorageElementException : MediaChangerException
    {
        private IStorageElement mStorageElement;
        
        public StorageElementException(IStorageElement Element, string Message)
            : this(Element, Message, null)
        {

        }

        public StorageElementException(IStorageElement Element, string Message, Exception InnerException)
            : base(Message, InnerException)
        {
            mStorageElement = Element;
        }
        
        public IStorageElement StorageElement
        {
            get { return mStorageElement; }
        }
    }  // END CLASS
}  // END NAMESPACE
